﻿using AutoMapper;
using Navigant.DataContracts;
using Navigant.Model.PreservationNotices;

namespace Navigant.Mapping
{
    public class PreservationNoticeTemplateConverter : ITypeConverter<PreservationNoticeTemplate, PreservationNoticeTemplateContract>
    {
        #region ITypeConverter<PreservationNoticeTemplate,PreservationNoticeTemplateContract> Members

        public PreservationNoticeTemplateContract Convert(PreservationNoticeTemplate source)
        {
            return Converter.ToPreservationNoticeTemplateContract(source);
        }

        #endregion
    }
}
